package hcn.protocol.ods.hospitalAppointment;

import javax.xml.bind.annotation.*;
import java.util.List;


@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class HospitalDoctorInfoXmlResponse {

    private List<HospitalDoctorInfo> doctorList;

    @XmlElementWrapper(name = "DoctorLists")
    @XmlElement(name = "DoctorList")
    public List<HospitalDoctorInfo> getDoctorList() {
        return doctorList;
    }

    public void setDoctorList(List<HospitalDoctorInfo> doctorList) {
        this.doctorList = doctorList;
    }
}
